<?php
class Library_Model_NguoiDung extends Library_Model_DomainObjectAbstract{
	private $_tennd = null;
	private $_email = null;
	private $_tendangnhap = null;
	private $_matkhau = null;
	private $_khoa = null;
	private $_quyenhan = null;
	/**
	 * @return the $_tennd
	 */
	public function getTennd() {
		return $this->_tennd;
	}

	/**
	 * @param NULL $_tennd
	 */
	public function setTennd($_tennd) {
		$this->_tennd = $_tennd;
	}

	/**
	 * @return the $_email
	 */
	public function getEmail() {
		return $this->_email;
	}

	/**
	 * @param NULL $_email
	 */
	public function setEmail($_email) {
		$this->_email = $_email;
	}

	/**
	 * @return the $_tendangnhap
	 */
	public function getTendangnhap() {
		return $this->_tendangnhap;
	}

	/**
	 * @param NULL $_tendangnhap
	 */
	public function setTendangnhap($_tendangnhap) {
		$this->_tendangnhap = $_tendangnhap;
	}

	/**
	 * @return the $_matkhau
	 */
	public function getMatkhau() {
		return $this->_matkhau;
	}

	/**
	 * @param NULL $_matkhau
	 */
	public function setMatkhau($_matkhau) {
		$this->_matkhau = $_matkhau;
	}

	/**
	 * @return the $_khoa
	 */
	public function getKhoa() {
		/* if($this->_khoa ==  1){
			(string)$this->_khoa = 'Khóa';
		} else if($this->_khoa == 0){
			(string)$this->_khoa = 'Không Khóa';
		} */
	
		return $this->_khoa;
	}
	
	public function khoaList(){
		if($this->_khoa ==  1){
			(string)$this->_khoa = 'Khóa';
		} else if($this->_khoa == 0){
			(string)$this->_khoa = 'Không Khóa';
		}
		return $this->_khoa;
		
	}
	
	/**
	 * @param NULL $_khoa
	 */
	public function setKhoa($_khoa) {
		$this->_khoa = $_khoa;
	}

	/**
	 * @return the $_quyenhan
	 */
	public function getQuyenhan() {
		return $this->_quyenhan;
	}

	/**
	 * @param NULL $_quyenhan
	 */
	public function setQuyenhan($_quyenhan) {
		$this->_quyenhan = $_quyenhan;
	}

	
}